package com.wyg.composite.factory;

import com.wyg.composite.duck.Quackable;

/**
 * @description:    通过抽象工厂的方式创建不同的鸭子对象
 * @author: WYG
 * @time: 2021/4/10 21:35
 */

public abstract class AbstractDuckFactory {
    public abstract Quackable createMallardDuck();
    public abstract Quackable createReadheadDuck();
    public abstract Quackable createDuckCall();
    public abstract Quackable createRubberDuck();
}
